package com.example.qguserconsumer.service.impl;

import com.example.qgcommon.util.ReturnUtil;
import com.example.qguserconsumer.fegin.UserFegin;
import com.example.qguserconsumer.service.LocalUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

@Service
public class LocalUserServiceImpl implements LocalUserService {

    @Resource
    private UserFegin userFegin;

    @Override
    public Map login(Map map) {
        return userFegin.login(map);
    }

    @Override
    public Map getByPhone(String phone) {
        return userFegin.getByPhone( phone );
    }


}
